#!/bin/bash

git log -n 1 --pretty=format:"%ad commit id:%H" > timestamp.tmp
sed -i 's#-0700##'  timestamp.tmp
sed -i 's#  #, #'  timestamp.tmp
cat timestamp.tmp
